package com.cgly.medical.mapper;

import com.cgly.medical.domain.City;
import com.cgly.medical.entity.CityEntity;
import com.cgly.medical.model.CityModel;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Repository;


import java.util.List;

@Repository
public interface CityMapper {

    // 获取所有城市信息
    List<City> getAll();

    // 根据id删除城市信息
    int deleteCityByNumber(Integer id);

}
